DescribeTargetConfig
Description
obtain vulnerability scanning configuration information of the specified host asset.
Request Method
POST
Request Path
/apsara/route/aegis/DescribeTargetConfig
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
Type | BODY | string | No | No sample value for this parameter. | vulnerability classification. |
Uuid | BODY | string | No | No sample value for this parameter. | host asset UUID. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
TotalCount | integer | no demo value | returns the total number of records. |
Type | string | no demo value | vulnerability classification. |
TargetConfigs | array | no demo value | vulnerability detection configuration list. see the following parameter description for specific sub-items. |
RequestId | string | no demo value | request ID. |
Config | string | no demo value | vulnerability scanning configuration information, on or off. |
OverAllConfig | string | no demo value | global vulnerability scan configuration information, on or off. description the global vulnerability scanning configuration overwrites the vulnerability scanning configuration of a single host. |
Example
Successful Response example
{
"TotalCount":"no demo value",
"Type":"no demo value",
"TargetConfigs":"no demo value",
"RequestId":"no demo value",
"Config":"no demo value",
"OverAllConfig":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}